﻿<%@ Page Language="C#" MasterPageFile="~/TownshipEnterprise/Town.master" AutoEventWireup="true" StylesheetTheme="Content" 
CodeFile="BarracksView.aspx.cs" Inherits="TownshipEnterprise_BarracksView" Title="无标题页" %>

<%@ Register src="../UserContral/ListPageContral.ascx" tagname="ListPageContral" tagprefix="uc1" %>



<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div style="width:100%; text-align:center">
    <asp:DataList ID="DltList" RepeatColumns="3" runat="server" RepeatDirection="Horizontal">
    <ItemTemplate>
    <table>
    <tr>
    <td>
     <div style="border: solid 1px #CCCCCC; padding: 3px; width: 200px; height: 150px;">
   <a target="_blank" href='<%#  GetPicUrl(Eval("PicPath")) %>'> 
       <img src='<%# GetPicUrl(Eval("PicPath")) %>' width="200px" height="150px" /></a>
    </div>
    </td>
    </tr>
    <tr>
    <td align="center">
 <%# GetPicType(Eval("TownPicstypeID"))%>
    </td>
    </tr>
    <tr>
    <td align="center">
 <%# Eval("PicDescript")%>
    </td>
    </tr>
    </table>
   
    </ItemTemplate>
    </asp:DataList>
    </div>
    <uc1:ListPageContral ID="ListPageContral1" PageSize="6" OnPageSizeChange="ListPageContral1_PageSizeChange"
        runat="server" />
</asp:Content>
